package com.sky.service.user;

import com.sky.entity.AddressBook;

import java.util.List;

/**
 * @author wangqi
 * @date 2024/1/4 09:05
 */
public interface AddressBookService {
    List<AddressBook> list();

    void insert(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    AddressBook findAddressById(Long id);

    void update(AddressBook addressBook);

    void delete(Long id);
}
